package com.one.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Date;

@Data
public class SelectBatch {
    private Long id;

    @ApiModelProperty(value = "批次编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "批次名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_date")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_date")
    private Date endDate;

    @ApiModelProperty(value = "0：未开始，1：进行中，2：暂停中，3：已结束，默认：0")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;
}
